<form action="{:url('portal/AdminPage/editPost')}" enctype="multipart/form-data" method="post">
    <input type="file" name="files" />
    <br>
    <input type="submit" value="上传" />
</form>